from .condition import Condition

class BooleanExpr(Condition):
    
    def __init__(self, expr):
        Condition.__init__(self)
        self.__expr = expr
        
    def _is_true(self, scope):
        return self.__expr.eval(scope)
        